#include "GroundTile.h"
const int WIN_WIDTH = 2048;
const int WIN_HEIGHT = 1280;
GroundTile::GroundTile(SDL_Texture *p_tex, int p_index)
	: Entity(p_index * 256.0f, WIN_HEIGHT - 256.0f, p_tex)
{
	status = 1;
}

int GroundTile::getStatus()
{
    return status;
}

void GroundTile::setStatus(int p_status, SDL_Texture *groundTex[4])
{
    status = p_status;
	setTex(groundTex[status]);
}
